﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Drawing.Imaging;
using System.Drawing;

namespace System.Drawing.Imaging.Assist
{
    /// <summary>
    /// Image Process base class
    /// </summary>
    public abstract class ImageProcessBase
    {
        /// <summary>
        /// Source Bitmap
        /// </summary>
        public Bitmap Source { get; set; }

        /// <summary>
        /// Constructor
        /// </summary>
        /// <param name="image"></param>
        public ImageProcessBase(Bitmap image)
        {
            Source = image;
        }

        /// <summary>
        /// Image processing functions
        /// </summary>
        /// <returns></returns>
        public abstract Bitmap ProcessImage();
    }
}
